Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #24

Merged
nodemode-ai merged 5 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 5 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fix(agents): agent_lookup.py is now FormVis's 1.1.0, copied byte for byte, so the family has one Windows starter. It follows npm, pnpm and bun shims in any letter case and with trailing dots, spaces or a stream name, and refuses cmd.exe words and program paths the interpreter would change. Its hash is recorded in LOOKUP_HASHES.
  • test: 7 new launcher test cases for the 1.1.0 behaviour formlit depends on (shim name forms, pnpm shims, a program path with a space and the words after it).
  • feat: THIRD-PARTY-NOTICES.txt holds the full licence texts of the frozen Python packages, the PyInstaller bootloader, the npm production packages, 482 Rust crates, the bundled fonts, lens data and demo credits, and the downloaded FFmpeg release. It is written by setup/notices.py, following FormDAM.
  • feat: the notices ship in every installer (bundle.resources) and inside the frozen engine. GET /api/notices serves them, and the About box shows them under Third-party notices.
  • ci: python setup/notices.py --check runs in the test job, and 6 new tests cover the route and the check.
  • docs: NOTICE.md stays the human ledger and points to the full texts; the README links both.

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

…r for npm, pnpm and bun shims

agent_lookup.py is copied byte for byte from FormVis 1.1.0 and its hash is recorded in LOOKUP_HASHES. Shims in any letter case or with trailing dots, spaces or a stream name are followed, pnpm shims too, and through cmd.exe a word or program path the interpreter would change is refused.
setup/notices.py writes the file from the installed Python packages, the npm production packages, the Rust crates, the bundled fonts, lens data and demo credits, the PyInstaller bootloader and the downloaded ffmpeg release, and --check runs in the CI test job. The installers carry it as a bundle resource, the frozen engine carries it, /api/notices serves it and the About box shows it under Third-party notices.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:13
The notices generator now reads setup/licence_texts/<kind>/<name>-<version>/
for crates and Python distributions whose published copy carries no licence
file, prints the vendored text with its SOURCE.txt, and names the upstream
file and ref (or the SPDX text it was reconstructed from). --check reports
vendored texts that changed since the notices were written. 41 entries
filled: 40 crates and flatbuffers 25.12.19.
setup/licence_texts is a folder of vendored licence files, so bash -n on it exited 126.
An edit during the gap between switching photo and develop.get answering
was overwritten by the reload and never saved. Ignore input until the new
photo's settings arrive, and let an edit made during a same-photo refresh
win over the refresh. The window test now waits for the photo to finish
loading instead of a networkidle wait that returned at once.
@nodemode-ai
nodemode-ai merged commit b403ba5 into main Nov 30, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants